<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>开关灯</title>
		<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js"></script>
		<script>
			$(function(){
				$("img").mouseover(function(){
					$(this).attr("src","../img/open.jpg");
				}).mouseout(function(){
					$(this).attr("src","../img/close.jpg");
				});
			});
		</script>
	</head>
	<body>
		<img src="../img/close.jpg" />
	</body>
</html>
